/**
 * cone-service: views.js
 * Description: 摘要说明
 * 
 * 
 * Time: 2021/11/5 20:33
 */
const render = require('koa-art-template');
const path = require("path");

module.exports = (app) => {
    render(app, {
        root: path.join(process.cwd(), 'views'),
        extname: '.art',
        debug: process.env.NODE_ENV !== 'production'
    });
}
